projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66afa11
)
(map-y-or-n-p): Show the answers in the echo area.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 15 May 1993 18:05:42 +0000
(18:05 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 15 May 1993 18:05:42 +0000
(18:05 +0000)
lisp/map-ynp.el
patch
|
blob
|
history
diff --git
a/lisp/map-ynp.el
b/lisp/map-ynp.el
index 22e9973cb01129d8e7d88e41825b268117000333..c64b1c78ae15efa13746d6bb780fa2c88f2d6117 100644
(file)
--- a/
lisp/map-ynp.el
+++ b/
lisp/map-ynp.el
@@
-118,6
+118,11
@@
Returns the number of actions taken."
prompt user-keys
(key-description (char-to-string help-char)))
(setq char (read-event)))
+ ;; Show the answer to the question.
+ (message "%s(y, n, !, ., q, %sor %s) %s"
+ prompt user-keys
+ (key-description (char-to-string help-char))
+ (single-key-description char))
(setq def (lookup-key map (vector char)))
(cond ((eq def 'exit)
(setq next (function (lambda () nil))))